<?php
declare (strict_types=1);

namespace app\admin\model\finance;

use app\common\model\BaseModel;
use think\model\concern\SoftDelete;

/**
 * Class Refund
 *
 * @package app\admin\model\finance
 */
class Refund extends BaseModel
{
    use SoftDelete;

    /**
     * 表名
     *
     * @var string
     */
    protected $name = 'refund_apply';

    /**
     * 设置自动写入时间
     *
     * @var boolean
     */
    protected $autoWriteTimestamp = true;

    /**
     * 时间显示格式
     *
     * @var string
     */
    protected $dateFormat = 'Y-m-d H:i';

    /**
     * 定义表主键
     *
     * @var string
     */
    protected $pk = 'id';
}